//
//  ICMProxyActivityModel.h
//  ICrEAM
//
//  Created by rainimute on 16/11/22.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
@class  ICMProxyActivity;
@class ICMProxyActivityModel;

@interface ICMProxyActivityViewModel : NSObject

@property (nonatomic, assign) BOOL isSelected;//是否被选择

@property (nonatomic, assign) BOOL isRotation;//是否展开

@property (nonatomic, strong) ICMProxyActivityModel *allActivityModel;//活动model

@property (nonatomic, copy) NSString *title;//名称

@property (nonatomic, copy) NSString *subTitle;//活动code

@property (nonatomic, copy) NSString *startTime;//开始时间

@property (nonatomic, copy) NSString *endTime;//结束时间

@property (nonatomic, copy) NSString *type;//类型

//是否选择
@property (nonatomic, copy) NSString *IS_CHECKED;

@end

@interface ICMProxyActivityModel : NSObject

@property (nonatomic, strong) NSMutableArray *TT_ACTIVITY_PART;//活动零件

@property (nonatomic, strong) NSMutableArray *TT_ACTIVITY_LABOUR;//活动项目

@end



@interface ICMProxyActivityLabourModel : NSObject<YYModel>

@property (nonatomic, copy) NSString *ACTIVITY_CODE;//活动代码

@property (nonatomic, copy) NSString *LABOUR_CODE;//项目代码

@property (nonatomic, copy) NSString *LABOUR_NAME;//项目名称

@property (nonatomic, assign) BOOL isSelected;//是否被选择

@end

@interface ICMProxyActivityPartsModel : NSObject<YYModel>

@property (nonatomic, copy) NSString *ACTIVITY_CODE;//活动代码

@property (nonatomic, copy) NSString *PART_NO;//零件代码

@property (nonatomic, copy) NSString *PART_NAME;//零件名称

@property (nonatomic, copy) NSString *PART_QUANTITY;//零件数量

@end
